package com.itheima.service;

import com.itheima.domain.DTO.LoginDTO;
import com.itheima.domain.pojo.Emp;
import com.itheima.domain.query.QueryParam;
import com.itheima.domain.vo.LoginVO;
import com.itheima.domain.vo.PageResult;
import com.itheima.domain.vo.Result;

import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/07/11 15:16
 * @Description:
 */
public interface EmpService {
    PageResult<Emp> empPage(QueryParam empQueryParam);

    void addEmpAndExpr(Emp emp);

    List<Emp> findAllEmp();

    void deleteByIds(Integer[] ids) throws Exception;

    Emp findEmpById(Integer id);

    void updateEmp(Emp emp);

    LoginVO login(LoginDTO loginDTO);

    Result login1(LoginDTO loginDTO);
}
